<?php
/**
 * Description of FaqController
 *
 * @author FFOZEU
 */
namespace Applications\Modules\Faq\Frontend\Controller;

if( !defined('IN') ) die('Hacking Attempt');

use Library\BackController;
use Library\HttpRequest;

class FaqController extends BackController{
    
     public function executeFaq(HttpRequest $request){
        // liste la faq du site
        $this->page->addVar('title', 'FAQ');
        
        $manager = $this->managers->getManagerOf('Faq');
        
        $faq = $manager->getActiveFaq();
        
        $this->page->addVar('faq', $faq);
    }
}

?>
